package com.hjy.exception;

@SuppressWarnings("AlibabaEnumConstantsMustHaveComment")
public enum CfmsErrorType{
    ERROR_UNKNOWN("未知错误"),
    ERROR_INTERNAL_ERROR("内部错误"),
    ERROR_INVALID_PARAMS("非法参数"),
    ERROR_INVALID_USERNAME_OR_PASSWORD("用户名或密码错误"),
    ERROR_PERMISSION_DENIED("未授权"),
    ERROR_PASSWORD_EXPIRED("密码过期"),
    ERROR_USER_NOT_FOUND("用户不存在"),

    ;


    private final String msg;

    CfmsErrorType(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }
}

